package upmc.api.aladyn.client.data;

import upmc.api.aladyn.client.annotation.XMLRMIField;
import upmc.api.aladyn.client.services.interfaces.Stringable;

/**Example of JavaBean
 * 
 * It presents the position coordinate 
 * 
 * @author Z_WANG
 *
 * @since 1.0
 */
public class Point implements Stringable{
	
//region Properties
	/**
	 * The value of X-axis
	 */
	@XMLRMIField(serializationName = "x", serializationType = "double")
	protected double a;
	

	/**
	 * The value of Y-axis
	 */
	@XMLRMIField(serializationName = "y", serializationType = "double")
	protected double b;
	
	/**
	 * The links between X-axis and Y-axis, for example => "@",":"
	 */
	@XMLRMIField(serializationName = "mark", serializationType = "double")
	protected String marque;
	
//endregion
	
//region Constructors
	
	/**
	 * Constructor of @see #Point without parameters
	 */
	public Point() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	/**Constructor of @see #Point with parameters
	 * 
	 * @param a
	 * @param b
	 * @param marque
	 */
	public Point(double a, double b, String marque) {
		super();
		this.a = a;
		this.b = b;
		this.marque = marque;
	}


//endregion

//region Stringable Methods
	/**Get the position
	 * 
	 * @return string
	 */
	@Override
	public String getPosition() {
		// TODO Auto-generated method stub
		return null;
	}

//endregion
	
}
